<h2>My Network Account</h2>
<hr>
<table id="disburseTable" cellspacing="5" cellpadding="5" border=1>
	<tr>
		<th> Trans. Id </th>
		<th> Trans. Timestamp </th>
		<th> Amount </th>
		<th> Status </th>
		<th> Disptach Timestamp </th>
	</tr>
<?php
	foreach($this->netacc as $key => $value){
		echo '<tr id='.$value["ab_trans"].'>';
		echo '<td align="center">'.$value["ab_trans"]."</td>";
		echo "<td>".$value["trans_date"]."</td>";
		echo "<td>".$value["amount"]."</td>";
		echo "<td>";
			if($value["is_dispatched"]==0){
				echo "Pending";
			}
			else{
				echo "Dispatched";
			}
		echo "</td>";
		echo "<td>";
			if(!$value["dispatch_date"]){
				echo "------------------";
			}
			else{
				echo $value["dispatch_date"];
			}
		echo "</td>";	
		echo "</tr>";
	}
?>
</table>
